cmake_minimum_required(VERSION 3.0.0)
project(agile VERSION 0.1.0)

set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)

# 添加include目录
include_directories(${PROJECT_SOURCE_DIR}/src)

# 添加链接库查找目录
link_directories(${PROJECT_SOURCE_DIR}/bin)

# 设置生成的库文件目录
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)

# 设置可执行文件目录
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)

# 添加子目录
add_subdirectory(test)
